package com.mh.service;

import com.mh.domain.AppUser;

import java.util.List;
import java.util.Set;

import org.springframework.dao.DataAccessException;

/**
 * Spring service that handles CRUD requests for AppUser entities
 * 
 */
public interface AppUserService {

	/**
	 * Load an existing AppUser entity
	 * 
	 */
	public Set<AppUser> loadAppUsers();

	/**
	 * Return a count of all AppUser entity
	 * 
	 */
	public Integer countAppUsers();

	/**
	 */
	public AppUser findAppUserByPrimaryKey(Integer id);

	/**
	 * Save an existing AppUser entity
	 * 
	 */
	public void saveAppUser(AppUser appuser);

	/**
	 * Delete an existing AppUser entity
	 * 
	 */
	public void deleteAppUser(AppUser appuser_1);

	/**
	 * Return all AppUser entity
	 * 
	 */
	public List<AppUser> findAllAppUsers(Integer startResult, Integer maxRows);
	
	public List<AppUser> findAllAppUsers(AppUser appuser, Integer startResult, Integer maxRows);
	
	public List<AppUser> findAppUser(AppUser appuser);
}